package com.ruoyi.info.domain;

import lombok.Data;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 评论对象 tb_cms_comment
 * 
 * @author xwj
 * @date 2023-07-07
 */
@Data
public class CmsComment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 父id */
    @Excel(name = "父id")
    private Long parentId;
    private String puserid;
    private String parentUserName;

    private String parentAvatar;

    /** 层级 */
    @Excel(name = "层级")
    private Long level;

    /** 文章id */
    @Excel(name = "文章id")
    private Long contentId;

    private String contentTitle;

    private String kind;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    private String userName;
    private String avatar;



    /** 回复内容 */
    @Excel(name = "回复内容")
    private String content;

    /** ip */
    @Excel(name = "ip")
    private String ip;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** (0:待审核、1审核通过、2审核不通过) */
    @Excel(name = "(0:待审核、1审核通过、2审核不通过)")
    private String status;

    private List<CmsComment> children;

    private String timeText;

}
